/**
 * 匹配 each or with 变量区内容
 */
export const matchTagReg = /(?<={{#(each|with)\s)(.*?)(?=}})/;
/**
 * 匹配在 each or with 写了 as 下所使用的变量名称
 */
export const tagVariableReg = /(.*?)(?=\sas\s)/;
/**
 * 匹配 each or with 别名变量名称
 */
export const tagAliasReg = /(?<=\sas\s\|)(.*?)(?=\|)/;
/**
 * 匹配 each 标签
 */
export const eachTag = /{{#each\s(.*?)}}/g;
/**
 * 匹配 each 结束标签
 */
export const eachEndTag = /{{\/each}}/g;
/**
 * 匹配 with 标签
 */
export const withTag = /{{#with\s(.*?)}}/g;
/**
 * 匹配 with 结束标签
 */
export const withEndTag = /{{\/with}}/g;
/**
 * 匹配助手内的变量
 */
export const helperVariableReg = /(?<={{#(if|unless|each|with)\s)(.*?)([^\s]*)/g;
